package com.cym.service.impl;

import com.cym.entity.ProductTypes;
import com.cym.mapper.ProductTypesMapper;
import com.cym.service.ProductTypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductTypesServiceImpl implements ProductTypesService {
    @Autowired
    ProductTypesMapper productTypesMapper;
    @Override
    public List<ProductTypes> getAllProductTypes() {
        return productTypesMapper.getAllProductTypes();
    }
}
